package com.ys.service.storage;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 手工拆装单
 */
public interface TccDisassembleByHandService {

	//新增
	R add(Map<String, Object> params, Long menuId) throws Exception ;

	//修改
	R update(Map<String, Object> params, Long menuId) throws Exception ;

	//删除
	R del(Long id)throws Exception;

	//流转通过
	R flowPass(String bid, String loginUserId) throws Exception;

	//流转驳回
	R flowRefuse(String bid, String reason, String loginUserId) throws Exception;

	//流转退回
	R flowInit(String bid, String reason, String loginUserId) throws Exception;

	//获取母表信息
	Map<String,Object> getExtraParam(String bid) throws Exception;

	//根据主表bid获取子表信息
	List<Map<String,Object>> getItemListByBid(String bid) throws Exception;


}